/*******************************************************************************
 * Copyright (c) 2018, 2018 Grimm
 ******************************************************************************/
package com.alex.java8_01;

/**
 * @Author alex
 * @Created Jan 30, 2018 9:56:36 PM
 * @Description
 *              <p>
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee> {

	/**
	 * @see com.alex.java8_01.MyPredicate#test(java.lang.Object)
	 */
	@Override
	public boolean test(Employee t) {
		return t.getSalary() >= 8000;
	}

}
